from django.contrib import admin
from django.urls import path
from .views import Register, RetrieveViews


urlpatterns = [
    # 登陆注册接口
    path('login/', Register.as_view()),
    # 找回密码
    path('retrieve', RetrieveViews.as_view())
]

# from users.MyTokenObtainPairView import FormulaTokenObtainPairView

# urlpatterns = [
    # path("login", FormulaTokenObtainPairView.as_view(), name="login"),  # 获取token
# ]
